html {
	font-size: 16px;
}
.main-content {
  position: relative;
  top: 5.3125rem; /* To offset for fixed header. */
}

.center {
  text-align: center;
}

.button {
  border-radius: 4px;
  background-color: #4a4a4a;
  color: white;
}

.image-container {
  overflow: hidden;
}

.image-container img {
  display: block;
  max-width: 100%;
}

@media only screen and (max-width: 895px) {
  .main-content {
    top: 2.5625rem;
  }
}

/* Header */

header {
  position: fixed;
  z-index: 100;
  width: 100%;
 
  border-bottom: solid 1px #c6c1c1;
  background-color: white;
}

header .content {
  display: flex;
  align-items: center;
  padding: 0 1.875rem 0 1.875rem;
}

header .logo {
  flex: 1;
}

header nav ul {
  display: flex;
  list-style-type: none;
}

nav li {
  padding-left: 3.5rem;
}

nav a {
  vertical-align: bottom;
  line-height: 1.6;
  font-size: 1rem;
  color: #4a4a4a;
}

nav .button {
  padding: .1875rem .5rem;
  background-color: transparent;
  line-height: 1.6;
  color: transparent;
}

nav li:last-child {
  display: none;
}

header .icon {
  width: 1rem;
  padding-left: .75rem;
}

header .mobile {
  display: none;
}

@media only screen and (max-width: 895px) {
  nav li:last-child {
    display: block;
  }

  header .content {
    padding: 1rem 1rem;
  }
}

@media only screen and (max-width: 600px) {
  header .desktop {
    display: flex;
  }
nav li {
  padding-left: 2rem;
}

nav a {
  vertical-align: bottom;
  line-height: 1.6;
  font-size: .9rem;
  color: #4a4a4a;
}

nav .button {
  padding: .1875rem .5rem;
  background-color: transparent;
  line-height: 1.6;
  color: transparent;
}
  header .mobile {
    display: block;
    width: 100%;
  }

  header .content {
    padding: .5rem;
  }

  header .mobile ul {
    display: flex;
    justify-content: space-around;
    align-content: flex-start;
    width: 100%;
  }

 
 

}
/* Banner */
#welcome {
	position: relative;
	top: 50px;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	height: 15.5rem;
 background: url("./search_background.JPG");
  background-position: middle;
  background-size: cover;
  background-repeat: no-repeat;
	
	
}

	
#welcome_box {
  position: relative;
  top: 0px;
  margin: 0 auto;
  margin-top:0px;
  padding: 0 3rem 2.5rem 3rem;

  border-radius: 25px;
 
 
  
}

#welcome_box .content_box {
  width: 25.625rem;
  margin-top: 2rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.25rem;
  line-height: .25;
  color: #f5f5e5;
  
}

.header {
	display: flex;
	flex-direction:column;
	align-items: center;
	justify-content: center;
	
}
#welcome_box h1 {
  font-size: 3.125rem;
  font-family: 'Mirza', cursive;
  margin-top: 10px;
}
#welcome_box h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}
@media only screen and (max-width: 895px) {
  #welcome {
    align-items: center;
    justify-content: center;
    height: 28rem;
  }

  #welcome .red {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
  }
   #welcome_box {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
  }

  #welcome_box .content_box {
    margin-top: 0;
  }



  #wolcome_box h1 {
    font-size: 3.125rem;
  }

  #welcome_box h2 {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 600px) {
#welcome {
    align-items: center;
    justify-content: center;
    height: 20rem;
  }

  #welcome .red {
    position: relative;
	top: 10%;
	left: 0;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
  }
   #welcome_box {
    position: relative;
	top: 10%;
	left:0;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
  }

  #welcome_box .content_box {
    margin-top: 0;
	width:20rem;
  } 
 

  #welcome_box h1 {
    font-size: 2.25rem;
  }

  #welcome_box h2 {
    font-size: 1rem;
  }
}
/* Features Section */

#features-section {
  display: flex;
  justify-content: space-between;
  padding: 4rem 5%;
  background-color: #f3f3f3;
}

.feature {
  flex: 1;
  padding: 2rem;
  margin: 0px 1.25rem;
  background-color: white;
}

.feature .content {
  padding: 2.5rem 0;
}
.letter_section_arabic {
	display: flex;
	flex-direction: column;
	
	align-items: flex-end;
}

 .list_item_arabic {
	
	font-family: 'Mirza', cursive;
	font-size: 2rem;
	padding:.2rem;
	margin: 1.7rem 0.4rem 1.25rem 0;
	width: 1rem;
	
	border-bottom: solid .5px #C62D42;
	
  font-weight: 300;
  color: #4a4a4a;
  left: 0.4rem;
  
}

.letter_contents_arabic dd{
	font-family: 'Mirza', cursive;
	font-size: 1.2rem;
	text-align: right;
	margin-right: 4rem;
	
	
}

.letter_contents_arabic dt{
	font-family: 'Mirza', cursive;
	font-size: 1.2rem;
	text-align: right;
	margin-right: 2rem;
	
	
}
	

 .list_item {
	font-family: 'Work Sans', sans-serif;
	font-size: 1.6rem;
	padding:.3rem;
	margin: 2rem 0.4rem 1.25rem 0;
	width: 1rem;
  font-weight: 300;
  color: #4a4a4a;
  left: 0.4rem;
  	border-bottom: solid .5px #C62D42;

}

.letter_contents dd{
	font-family: 'Work Sans', sans-serif;
	font-size: 0.9rem;
	
	
	
}

.letter_contents dt{
	font-family: 'Work Sans', sans-serif;
	font-size: 1rem;
	
}

dd.subsection {
	margin-left:4rem;
}

.list_item a {
	color: #4a4a4a;
}

.feature h2 {
  padding-bottom: .5rem;
  font-size: 2.25rem;
  font-weight: bold;
  color: #4a4a4a;
  font-family: 'Work Sans', sans-serif;
}

.feature h3 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 300;
  color: #4a4a4a;
  font-family: 'Work Sans', sans-serif;
}


.center .alphabet {
	font-family: 'Mirza', cursive;
	display: flex;
	
	flex-flow:wrap row-reverse;
	
}
.center .alphabet_english {
font-family: 'Work Sans', sans-serif;
	display: flex;
	flex-flow:wrap row;
	
}
.alphabet .alphabet_letter {
	padding-right: 5px;
	padding-left: 5px;
}

.alphabet_english .alphabet_letter {
	padding-right: 5px;
	padding-left: 5px;
}

@media only screen and (max-width: 895px) {
  #features-section {
    padding: 1rem;
  }

  .feature {
    margin: 0px .5rem;
    padding: 1rem;
  }

  .feature h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .feature h3 {
    font-size: .875rem;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 600px) {
  #features-section {
    flex-flow: column;
    padding: 0;
  }

  .feature {
    margin: 0;
    padding: 1.25rem 1rem 0 1rem;
  }

  .feature .content {
    padding: 1.25rem 0 1.875rem 0;
  }
}	